#include "app_pool.h"

void task(void *arg)
{
    log_info("task... %d", *(size_t *)arg);
}

int main(int argc, char const *argv[])
{
    app_pool_init(10);

    for (size_t i = 0; i < 20; i++)
    {
        app_pool_add_task(task, &i);
    }
    

    sleep(200);

    return 0;
}
